﻿
fs.util.pageLoadFunction.push(function () {
    fs.sys.defaultDigits = 1;
    isKoMode = true;
});

var readyJSON = [
{ accountcode: "", emptyrow: true, insertcontrol: false, description: "SUSTAINABLE DEVELOPMENT", bold: true },
{ accountcode: "NF02010100", description: "Electricity", unit: "MWh", datarow: true, digits: 0, Process: [{
    Field: "All",
    Exp: {
        mode: "search", fields: ["NF02010101", "NF02010102"], equ: "+"
    }
}]
},
{ accountcode: "NF02010101", exchangerate: false, description: "Self-made", unit: "MWh", digits: 0, datarow: true },
{ accountcode: "NF02010102", exchangerate: false, description: "Purchased", unit: "MWh", digits: 0, datarow: true },
{ accountcode: "NF02010103", description: "Ratio Elec. Self-made vs. Total Elec.", unit: "%", withYTD: true, addition: "{0}*100", digits: 0, datarow: true, Process: [{
    Field: "All",
    Exp: {
        mode: "search", fields: ["NF02010101", "NF02010100"], equ: "/", addition: "{0}*100"
    }
}]
},
{ accountcode: "NF02010200", exchangerate: false, description: "Steam", unit: "MWh", digits: 0, datarow: true },
{ accountcode: "NF02010300", exchangerate: false, description: "Water", unit: "m3 ", digits: 0, datarow: true },
{ accountcode: "NF02010400", exchangerate: false, description: "CO2", unit: "T", datarow: true },
{ accountcode: "", emptyrow: true, description: "" },
{ accountcode: "", emptyrow: true, description: "OPERATIONAL INDICATORS (Production)", bold: true },
{ accountcode: "NF02020100", exchangerate: false, description: "Starch production (corn+wheat)", unit: "KT 87%DS", datarow: true, entityFilter: ["RCN"] },
{ accountcode: "NF02020200", description: "Maintenance", datarow: true },
{ accountcode: "NF02020300", description: "Net Starch Cost", unit: "{0} /T Co", datarow: true, entityFilter: ["RCN"] },
{ accountcode: "NF02020400", description: "Energy Cost", datarow: true, entityFilter: ["RCN"] },
{ accountcode: "NF02020500", description: "Energy : Global cost/TDS starch", unit: "{0} /T Ds", withYTD: true, datarow: true, Process: [{
    Field: "CM",
    Exp: {
        mode: "search", fields: ["NF02020400", "NF02020100"], equ: "/"
    }
}, {
    Field: "YTD",
    Exp: {
        mode: "search", fields: ["NF02020400", "NF02020100"], equ: "/"
    }
}, {
    Field: "YTDM_1",
    Exp: {
        mode: "search", fields: ["NF02020400", "NF02020100"], equ: "/"
    }
}]
},
{ emptyrow: true, description: "" },
{ accountcode: "", emptyrow: true, description: "QUALITY (Local Products)", bold: true },
{ accountcode: "NF02030100", description: "Non-quality cost", datarow: true },
{ emptyrow: true, description: "" },
{ accountcode: "", accountcode: "NF02040100", description: "PRODUCTION KPIs", unit: " ", emptyrow: true, bold: true },
{ accountcode: "NF02040101", datarow: true, unit: "T/FTE", description: "Productivity",exchangerate:false }
];